package com.bella.springcloud.controller;/**
 * @program: cloud2022
 * @description:
 * @packagename: com.bella.springcloud.controller
 * @author: Bella白
 * @date: 2022-09-04 17:16
 **/

import com.bella.springcloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: bella白
 * @Title: SendMessageController
 * @ProjectName: cloud2022
 * @Description:
 * @date: 2022/9/4 17:16
 */
@RestController
public class SendMessageController {
    @Resource
    private IMessageProvider iMessageProvider;
    @GetMapping("/sendMessage")
    public String sendMessage(){
      return  iMessageProvider.send();
    }
}
